#pragma once
#include <set>
#include <memory>

#include "Op.h"

class OpAddPrivate;
class INode;
class OpAdd : public Op
{
public:
	OpAdd(const std::set<std::shared_ptr<INode>>& children, QUndoCommand *outer = nullptr);
	~OpAdd();

	virtual void redo() override;
	virtual void undo() override;

protected:
	OpAddPrivate* d_ptr;
};